home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / xlib03.zip / XDETECT.H < prev    next >
C/C++ Source or Header  |  1993-04-05  |  1KB  |  51 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XDETECT - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XDETECT_H_
  25. #define _XDETECT_H_
  26.  
  27. #define I8086   0
  28. #define I80186  1
  29. #define I80286  2
  30. #define I80386  3
  31.  
  32. #define NoGraphics 0
  33. #define MDA        1
  34. #define CGA        2
  35. #define EGAMono    3
  36. #define EGAColor   4
  37. #define VGAMono    5
  38. #define VGAColor   6
  39. #define MCGAMono   7
  40. #define MCGAColor  8
  41.  
  42. /* FUNCTIONS =========================================================== */
  43.  
  44. extern int x_graphics_card();    /* Detect installed Graphics card type */
  45. extern int x_processor();        /* Detect installed Graphics card type */
  46.  
  47.  
  48. #endif
  49.  
  50.  
  51.